<!--@if($colorset == "black" || $colorset == "white")-->
    <!--%import("./css/widget.css")-->
<!--@end-->

<div class="widgetContainer<!--@if($colorset=="black")--> black<!--@end-->">
    <ul class="widgetTagCloud">
        <!--@foreach($widget_info->tag_list as $val)-->
        <li class="level{$val->rank}">
            <!--@if($widget_info->mid)-->
                <a href="{getUrl('','mid',$widget_info->mid,'search_target','tag','search_keyword',$val->tag)}">{@ $tag_text=mb_strimwidth($val->tag,0,9,"...","UTF-8")}{htmlspecialchars($tag_text)}</a>
            <!--@else-->
                <a href="{getUrl('act','IS','where','document','search_target','tag','is_keyword',$val->tag)}">{@ $tag_text=mb_strimwidth($val->tag,0,9,"...","UTF-8")}{htmlspecialchars($tag_text)}</a>
            <!--@end-->
        </li>
        <!--@end-->
    </ul>
</div>
